@REM @echo off

chcp 65001

cd %CD%

echo 工作目录: %CD%
echo ------------------------------ >> log.txt
echo 启动日志: %DATE% %TIME% >> log.txt

call %CD%/../../.venv/Scripts/activate.bat

export PYTHONUNBUFFERED=yes
python game_click.py >> log.txt

call %CD%/../../.venv/Scripts/deactivate.bat
echo 启动完成! >> log.txt
pause